
import request from './request.js'

//学员注册
export const getOpenId = (params) => request({
	url: '/app/user/openId?code='+params,
	method: "get",
})

export const doRegister = (params) => request({
	url: '/app/user/register',
	method: "POST",
	data: params
})

export const doLogin = (params) => request({
	url: '/app/user/login',
	method: "POST",
	data: params
})

export const getRecordList = (params) => request({
	url: '/food/record/list',
	method: "POST",
	data: params
})


